<extend name="Public:adminBase"/>
<block name="left">
    <ul>
        <li>论坛管理
            <ul>
                <li>blog列表</li>
            </ul>
        </li>
    </ul>
</block>

<block name="content">
    <table class="table table-striped table-hover">
        <thead>
        <th>blog_id</th>
        <th>blog_title</th>
        <th>user_id</th>
        <th>blog_content</th>
        <th>blog_date</th>
        <th>操作</th>
        </thead>
        <tbody>
        <foreach name="blogLists.lists" item="ul">
            <tr>
                <td>{$ul.blog_id}</td>
                <td>{$ul.blog_title}</td>
                <td>{$ul.user_id}</td>
                <td>{$ul.blog_content}</td>
                <td>{$ul.blog_date|date="Y-m-d H-i-s",###}</td>
                <td>
                    <!--<a href="{:U('Admin/User/edit')}">编辑</a>-->
                    <a href="{:U('Admin/Index/infoDelete',array('typeId'=>2,'id'=>$ul['blog_id']))}">删除</a>
                </td>
            </tr>
        </foreach>
        </tbody>
        <tfoot>
        <th colspan="6">
            {$blogLists.page}
        </th>
        </tfoot>
    </table>
</block>